package vivace.model;

/**
 * Class representing a high-level musical object (e.g. note or pause)
 */
public class MusicalObject {
	
	/** resolution */
    protected long resolution;
    
    /** length */
	protected long length;
	
	/** returns the resolution of the musical object */
    public long getRes(){
    	return resolution;
    }
    
    /**
     * Returns the length of the musical object
     * @return
     */
	public long getLength() {
		return length;
	}
	
	/**
	 * Sets the length of the musical object
	 * @param length
	 */
	public void setLength(long length) {
		this.length = length;
	}

}
